package com.gitee.hermer.engine.jars.core.eventbus;

import java.io.Serializable;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

public interface IEventBusSender<E,EX extends Exception> extends InitializingBean,DisposableBean{
	
	public void sendQueueEventBus(E eventName, Serializable... args) throws EX;
	public void sendBroadcastEventBus(E eventName, Serializable... args) throws EX;
}
